package com.property.manage.model.owner;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.property.manage.model.resource.Building;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.models.auth.In;
import lombok.Data;

@Data
@TableName("t_owner")
public class OwnerEntity  {
    @TableId(type = IdType.AUTO)
    private Integer id;
    private String ownerName;
    @ApiModelProperty("类型  1业主 2租户")
    private Integer type;
    private  String phone;
    private  Integer buildingId;
}
